﻿@using Telerik.Web.Mvc.UI
@model qltscd.Models.DanhMucHangSanXuat

@{
    ViewBag.Title = "Create";
}

<h2>Create</h2>

<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>

@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)
    <fieldset>
        <legend>DanhMucHangSanXuat</legend>
        <table border="0" width="70%" cellpadding="10px" cellspacing="10px">
        <tr>
            <td style="margin-left: 10px;" class="label_col">
                @Html.LabelFor(model => model.TenHangSanXuat)
            </td>
            <td>
                @Html.TextBoxFor(model => model.TenHangSanXuat, new { @style = "width:97%; " })
                
            </td>
            <td style="margin-left: 10px;" class="label_col">
                @Html.LabelFor(model => model.TrangWeb)
            </td>
            <td>
                @Html.TextBoxFor(model => model.TrangWeb, new { @style = "width:97%; " })
                
            </td>
        </tr>
        </table>

        <p>
            <input type="submit" value="Create" />
        </p>
    </fieldset>
}

<div>
    @Html.ActionLink("Back to List", "Index")
</div>
<style type="text/css">
    .lable_col
    {
        font-weight: bold;
        text-align: right;
        font-style: italic;
        margin-right: 5px;
        color: Black;
    }
    fieldset
    {
        height: 85%;
        line-height: 38px;
    }
    legend
    {
        color:Black;
        font-weight:bold;
    }
    td
    {
        vertical-align: middle !important;
        }
</style>
<div class="errBlock">
@Html.ValidationMessageFor(model => model.TenHangSanXuat, "", new { @style = "display:block" })
@Html.ValidationMessageFor(model => model.TrangWeb, "", new { @style = "display:block" })
</div>